home *** CD-ROM | disk | FTP | other *** search
- *** How To Access WSC from ACCESS ***
-
- Refer to VBA32.TXT for 32-bit ACCESS (ACCESS 97 and later).
-
- The following example has been tested using Access 2.0 and WSC16.DLL.
-
- (1) Copy WSC16.DLL to the ACCESS directory.
- (2) Using a text editor, copy WSC16.BAS [or WSC32.BAS] and MODULE.BAS to the clipboard.
- You may want to modify MODULE.BAS first, such as changing the port and baud rate from the
- values in MODULE code (COM1 at 9600 baud).
- (3) Start ACCESS and invoke the Design Tool.
- (4) Choose the MODULE tab. A new module window will appear.
- (5) Paste the contents of the clipboard (from step 2 above) and save the module.
- (6) Choose the MODULE tab, double click the module name, choose "Run", then
- "Compile Loaded Modules" from the menu bar.
- (7) Select the MACRO design tool. Create three macros:
-
- Action Function Name
- ====== =============
- 1. RunCode OpenPort()
- 2. RunCode PutAT()
- 3. RunCode ClosePort()
-
- (8) Connect your serial cable to a serial device such as a modem or connect to another computer
- using a null modem cable.
- (9) Run macros 1, 2, and 3 in order. An "AT" should be sent to the serial device.
-
-
-
-
-